package com.easy.mapper;

import com.easy.bean.Bill;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BillDao {

    int add(@Param("param")Bill bill);
    int del(@Param("id")Integer id);
    int edit(@Param("param")Bill bill);
    Bill one(@Param("id")Integer id);
    List< Bill> all(@Param("param")Bill bill);
    int pageCount(@Param("param")Bill bill);
    List< Bill> page(@Param("page")Page page, @Param("param")Bill bill);
}
